Web应用程序和客户端/服务器应用程序之间有什么区别? [英] What is the difference between a web application and a client/server application?

查看:301
本文介绍了Web应用程序和客户端/服务器应用程序之间有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是从另一个问题中获得的。



在sqlite的适当用途下有:


SQLite工作良好的情况



•网站



SQLite通常可以作为
数据库引擎用于低到中等的
流量网站说,
99.9%的网站)。 SQLite可以处理的网络流量量
当然取决于
网站使用其数据库的重要程度。通常
说,任何网站,获得较少的
比100K命中/天应该工作罚款
与SQLite。 100K命中/天数
是保守估计,而不是硬
上限。



其他RDBMS可能
更好的情况

p>

•客户端/服务器应用程序



如果您有许多客户端程序
访问一个通用数据库b $ b网络,你应该考虑使用
客户端/服务器数据库引擎,而不是
的SQLite。 SQLite将处理一个
的网络文件系统,但由于
延迟与大多数网络
文件系统相关联,性能不会是
。此外,
的许多网络文件系统
实现的文件锁定逻辑包含错误(在
Unix和Windows上)。如果文件锁定
不能正常工作,它可能
可能为两个或更多客户端
程序同时修改
同一数据库的同一部分,
导致数据库损坏。
因为这个问题是由底层文件系统
中的bug
引起的,所以没有什么
SQLite可以防止它。



一个好的经验法则是,
应该避免在
中使用SQLite的情况下,同一数据库
将同时从
访问许多计算机通过网络
文件系统。







我的问题:



我会在这里显示我的无知,但这两者之间的区别是什么?

解决方案

Web应用程序是其中浏览器通常用作客户端的应用程序。 Web应用程序是客户端/服务器应用程序。换句话说,您可以将客户端/服务器应用程序视为超类,其中Web应用程序是一个子类。


I took this from another question I had.

Under appropriate uses for sqlite it has:

Situations Where SQLite Works Well

•Websites

SQLite usually will work great as the database engine for low to medium traffic websites (which is to say, 99.9% of all websites). The amount of web traffic that SQLite can handle depends, of course, on how heavily the website uses its database. Generally speaking, any site that gets fewer than 100K hits/day should work fine with SQLite. The 100K hits/day figure is a conservative estimate, not a hard upper bound. SQLite has been demonstrated to work with 10 times that amount of traffic.

Situations Where Another RDBMS May Work Better

•Client/Server Applications

If you have many client programs accessing a common database over a network, you should consider using a client/server database engine instead of SQLite. SQLite will work over a network filesystem, but because of the latency associated with most network filesystems, performance will not be great. Also, the file locking logic of many network filesystems implementation contains bugs (on both Unix and Windows). If file locking does not work like it should, it might be possible for two or more client programs to modify the same part of the same database at the same time, resulting in database corruption. Because this problem results from bugs in the underlying filesystem implementation, there is nothing SQLite can do to prevent it.

A good rule of thumb is that you should avoid using SQLite in situations where the same database will be accessed simultaneously from many computers over a network filesystem.


My Question:

I'm going to show my ignorance here but what is the difference between these two?

解决方案

A "Web Application" is one in which a browser is commonly used as the client. A Web application IS A Client/Server Application. In other words, you could think of a client/server application as a superclass, where the web application is a child class.

这篇关于Web应用程序和客户端/服务器应用程序之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆