High performance web application development

xiaoxiao2021-03-06  113

Cotry guests:, Guo Hongjun (GHJ1976), Liu Ruhong, Mengxian (Mencius E-chapter), Moderator, Chat Topic: High-performance web application development

View chat record

Guest speech area

ask:

How to weigh the client code and server-side code in B / S application to improve performance?

[2004-10-21 15:48:00]

Guest [Guo Hongjun (GHJ1976)]: It is actually a comprehensive consideration of safety and performance. For example, some verifications must have clients, the server segment is also available.

ask:

What is a smart client program?

[2004-10-21 15:47:00]

Guest [Guo Hongjun (GHJ1976)]: See: http://www.microsoft.com/china/community/program/originalarticles/techdoc/smartClient.mspx here's basic concepts of smart client programs.

Guest [Moderator]: Our chat event will end, give you the incomprehensible place, please forgive. We will meet again in the future! Thank you for your cooperation and support! I hope everyone will continue to pay attention to and support our website and magazine!

[2004-10-21 15:47:00]

ask:

Stan Lippman said C wants to be a system language in NET, and C # should also be, right?

[2004-10-21 15:45:00]

Guest [Guo Hongjun (GHJ1976)]: I don't know what the system language he is here? ? What is the original code like Win? ? What is a language similar to C? ?

ask:

How to enter a requirement that requires verification, such as how to do a Win form program, let him go to HTTPRequest to download the HTML code on a page on a website, but log in to the IE to enter, It is useful for session detection, in I have an account situation

[2004-10-21 15:43:00]

Guest [Mengxian (Menciic E Chapter)]: WebRequest

ask:

I always think that ASP.NET's run is very slow, and a page is running in VS to wait for half a day.

[2004-10-21 15:42:00]

Guest [Guo Hongjun (GHJ1976)]: The first time, he wants to compile, of course slow

ask:

What is better to use C / S and Web development network database applications? Why use C / S to develop network database applications so few, many are web, why?

[2004-10-21 15:41:00]

Guest [Guo Hongjun (GHJ1976)]: C / S is a fat client, the client is required to be strict. In fact, it is not C / S that is not c / s all day, not B / S but is a smart client program.

ask:

Stan Lippman said C wants to be a system language in NET, and C # should also be, right?

[2004-10-21 15:41:00]

Guest [Mengxian (Menciic E-chapter)]: This cannot be conclusive, see Microsoft.

ask:

Web application, there are many customer code JavaSCRPT, VBScript, etc., what tool test is better?

[2004-10-21 15:39:00]

Guest [Mengxian (Mencius E-chapter)]: InterDev, VS.NET supports debugging

ask:

TO: Mencius E chapter, I will find it, I will send it to you, thank you for your answer.

[2004-10-21 15:39:00]

Guest [Mengxian (Menciic E Chapter)]: You are welcome to ask:

Web application, there are many customer code JavaSCRPT, VBScript, etc., what tool test is better?

[2004-10-21 15:39:00]

Guest [Guo Hongjun (GHJ1976)]: Microsoft's ATC is a typical test web tool.

ask:

Can C # can develop a class QQ online video conferencing system? Does the client must be installed .NET framework?

[2004-10-21 15:38:00]

Guest [Guo Hongjun (GHJ1976)]: This will see that you are the structure of the BS. Isn't there a video chat room now? ? Their client does not need .NET

ask:

MS said that the language on the NET is equal, the function is the same, but the future C should be made to develop all the program or even the development of the operating system (Stan Lippmant said, then C # can also Luo? Is it a lie?

[2004-10-21 15:38:00]

Guest [Liu Ruhong]: Every language has its own positioning, even in .NET, C # relative to the appropriate ENTERPRISE development, while C / CLI is the development of system-level, this "programmer" magazine 11th Specialized C / CLI topics, which also talked about the relationship between C / CLI and C #

ask:

I think I have to develop high-performance web applications must have a reliable test to do the back shield, otherwise it will not talk

[2004-10-21 15:38:00]

Guest [Guo Hongjun (GHJ1976)]: Of course, high-performance websites, actually to find the bottleneck of your website and then modify the code for bottlenecks.

ask:

Ask a question: It seems that Session also uses cookies, what is the difference between using the cookie directly? Then the SESSION is safe to have high

[2004-10-21 15:37:00]

Guest [Guo Hongjun (GHJ1976)]: The specific data of the session is saved in the server, but he saves a key in the client's cookie, only this key can only take the value of the corresponding session. So, if you log in to a website, I know your key, this time, I can justice you. The cookie is saved to the client directly to the client.

ask:

TO: Menciic E-chapter, encrypts the file path, Flash can play on the page, but find the path to download this Flash file, the prompt file does not exist, how did this do it?

[2004-10-21 15:37:00]

Guest [Mengxian (Mencius E Chapter)]: Can you give an address example?

ask:

Do you use Sessionce to pass a DataSet object between the page?

[2004-10-21 15:37:00]

Guest [Mengxian (Mencius E)]: Cache is also

ask:

Ask how to store an object to Application? For example, a database connection, or an XML DOM object? What knowledge or technology is generally used?

[2004-10-21 15:36:00]

Guest [Mengxian (Mencius E-chapter)]: Don't need anything special in the application. Not recommended

ask:

Ask a page URL encrypted problem: like this chat room address:? User = uglybean & pass = OWTXTEXVYMYRDYTJEEMDQLJTJSGGHAU & XB = 1 & r = 19133 The intermediate encryption algorithm is? What are the benefits [2004-10-21 15:36:00]

Guest [Liu Ruhong]: This needs to rely on your specific algorithm, some use MD5 encryption or other encryption algorithms.

ask:

How to store an object to Application? For example, a database connection, or an XML DOM object?

[2004-10-21 15:34:00]

Guest [Guo Hongjun (GHJ1976)]: I will see the most basic book. ASP: SET Application ("aa") = OBJ is pushed. . . . . .

ask:

Do you use Sessionce to pass a DataSet object between the page?

[2004-10-21 15:34:00]

Guest [Mengxian (Mencius E)]: cache can also

ask:

I have never tried my own development component. Is there a good book recommendation?

[2004-10-21 15:33:00]

Guest [Mengxian (Menciic E-chapter)]: You can take a look at the bookstore, I haven't payable it for a long time. If developed. NET components, you can see ASP.NET Server Controls and Components Development

ask:

I have never tried my own development component. Is there a good book recommendation?

[2004-10-21 15:33:00]

Guest [Mengxian (Menciic E-chapter)]: You can take a look at the bookstore, I haven't payable it for a long time. If developed. NET components, you can see ASP.NET Server Controls and Components Development

ask:

How to enter a requirement to have verification! For example, how to do a Win form program, let him post on the SCDN with my own account!

[2004-10-21 15:32:00]

Guest [Mengxian (Menciic E-chapter)]: This feature is currently 9CBS idea prohibited

ask:

How to enter a requirement to have verification! For example, how to do a Win form program, let him post on the SCDN with my own account!

[2004-10-21 15:32:00]

Guest [Guo Hongjun (GHJ1976)]: Pay attention to the 9CBS cookie, you can use the program to achieve your activity in 9cs. But also be careful of your cookie stolen. Then you will trouble. In addition, if you are blocked, of course, no matter what, you can't send your post.

ask:

How do I test to locate their performance issues for a web application? In other words, how to test high-performance web application development.

[2004-10-21 15:31:00]

Guest [Liu Ruhong]: I think it is still a pressure test. For example, how much requests you can accept at the same time, how many transactions can be handled per second

ask:

Is the 9CBS Forum to use a cookie session?

[2004-10-21 15:30:00]

Guest [Guo Hongjun (GHJ1976)]: No, because 9CBS cookies is encrypted cookie. If you are completely used with a cookie session, performance has a pressure. 9CBS session is a combination of session using cookies. Session saved is the decrypted data. Cookie is saved after encrypted data. This will not be decrypted each time. Just decrypt when it is decrypted, regular, or session is lost.

ask:

So if I use the Application object in the ASP to store information, don't you use a cache?

[2004-10-21 15:30:00]

Guest [Guo Hongjun (GHJ1976)]: Of course, ask:

How to test performance issues, where is the entry point?

[2004-10-21 15:30:00]

Guest [Liu Ruhong]: You can use some pressure test tools, and VS.NET comes with Application Center Test, and Rational also provides a good tool, and you can do some unit testing for business logic components. This can be used. NUnit

ask:

TO: Menciic E chapter, but I downloaded a foreign friend written on the Internet. He can achieve the path to encrypt flash on the webpage, how this is achieved?

[2004-10-21 15:29:00]

Guest [Mengxian (Mencius E)]: What does it look like encrypted?

ask:

So how can I specifically say that the dual cache on 9CBS is implemented? Whether the page cache save information, the data cache saves the index of the page cache?

[2004-10-21 15:28:00]

Guest [Guo Hongjun (GHJ1976)]: For the page, the page cache is the use of the ASP's Application Caches the HTML code of the page output; the data cache caches an XML DOM object to the Application object. Another last cache update time is recorded to the Application to implement a timing maintenance cache. For ASP, global cache only uses Application. The next generation of communities, caching options will be more.

ask:

In the efficiency and load, what should we do if we don't have a lot of request to ask this test environment? How can I know if the system will experience the test?

[2004-10-21 15:27:00]

Guest [Mengxian (Menciic E-chapter)]: Microsoft provides ACT in VS.NET, can be roughly understood

ask:

For large business websites, often facing the static page? Still use of the page to slowly? Does this have an answer?

[2004-10-21 15:27:00]

Guest [Liu Ruhong]: From a safe point of view, as an e-commerce website, all the data should be confidential. At this time, a relatively appropriate choice will be used, this is just my personal tendency, because using dynamic pages, In terms of page permission control, we can easier, of course, specific applications depends on actual business, if your page does not want to be indexed by search engines, then I still recommend using dynamic pages, otherwise

ask:

If the Select Top N is recorded after the SELECT TOP N, if it is not used in the order (the result is not Top N), how to solve it? Is it a bug for Access?

[2004-10-21 15:26:00]

Guest [Mengxian (Menciic E-chapter)]: It seems that there is no such problem. You can send me a code.

ask:

SESSION cannot be shared. I found that the 9CBS login program is made with ASP.NET, and it is an ASP page. How do you handle session?

[2004-10-21 15:25:00]

Guest [Guo Hongjun (GHJ1976)]: cookie, both cookies can be common. You can see my blog: http://blog.joycode.com/ghj/archive/2004/03/17/16453.aspx

ask:

For large business websites, often facing the static page? Still use of the page to slowly? Does this have an answer?

[2004-10-21 15:25:00]

Guest [Mengxian (Mencius E-chapter)]: Each has good and disadvantages, good to the business website, or uses dynamics, because of the verification identity, etc.

What is HTTPHANDLE and HTTPMODULE, how to apply, what is the difference? Can I improve performance?

[2004-10-21 15:24:00]

Guest [Mengxian (Menciic E Chapter)]: can be referred to http://tech.cc294_a34991_p1.html http://www.frontfree.net/view/Article_856.html

ask:

What are the main applications of XML Web Service?

[2004-10-21 15:23:00]

Guest [Mengxian (Menciic E-chapter)]: You can use it in any aspect, just now there are not many applications, technology is not very mature. For example, providing stock information, weather forecast, etc.

ask:

Is ASP.NET conflict with recently popular Web standards? I noticed that the code generated by ASP.NET is sometimes very huge, which should be a burden on performance, although there is a caching mechanism, but it seems that there is no fundamentally reduced bandwidth occupancy

[2004-10-21 15:23:00]

Guest [Guo Hongjun (GHJ1976)]: 1. ASP.NET 2.0, those spam on HTML HEAD are not available by default. 2, the web form introduced in the ASP.NET requires a lot of communication with the client, and the viewstate is generated for this. This obviously affects the performance of the website, (more data passed.) So, based on your own situation, use Web Form, and some viewstate, it is very helpful to improve performance. Microsoft provides this thing, not to use it at any time, we have to use it. When necessary, we have to write some components to replace some of Microsoft's default components.

ask:

Flash used on the web page is easy to download by the user, what ways to encrypt, prevent the user from downloading, can you make Flash streaming like REAL, online playback

[2004-10-21 15:22:00]

Guest [Mengxian (Mencius E Chapter)]: Flash is already a flow format. This is related to the format of the SWF file.

ask:

What kind of fun is there in ASP.NET using XML?

[2004-10-21 15:22:00]

Guest [Liu Ruhong]: On the support of XML, .NET is the best, XML has a significant advantage in storage semi-structured data, and in ADO.NET, there is a lot of support for XML

ask:

What is better to use C / S and Web development network database applications?

[2004-10-21 15:21:00]

Guest [Liu Ruhong]: The C / S structure can make full use of client resources, and B / S has better elasticity, everything is, from the perspective of the application, consider your system

ask:

Which resource is of SQLSERVER and Access?

[2004-10-21 15:20:00]

Guest [Mengxian (Mencius E)]: SQL Server and Access have not seen the results of the comparison, SQLServer should be relatively large. Access is generally used to do small, incompatible applications

ask:

Use a web way to access the network database fast or use C / S to access the network database fast? ?

[2004-10-21 15:19:00]

Guest [Guo Hongjun (GHJ1976)]: This problem should be specific to the specific problem. They are all the same bandwidth, is it a database pressure from ADO.NET accessed? ? How to access server stress, etc. These affect who is faster. ask:

Use a web way to access the network database fast or use C / S to access the network database fast? ?

[2004-10-21 15:19:00]

Guest [Guo Hongjun (GHJ1976)]: This problem should be specific to the specific problem. They are all the same bandwidth, is it a database pressure from ADO.NET accessed? ? How to access server stress, etc. These affect who is faster.

ask:

What is the security of ASP.NET?

[2004-10-21 15:19:00]

Guest [Liu Ruhong]: I think a system security is some of the techniques and implementations that require relying on your implementation. Compared with the previous server, Windows Server 2003 is the first consideration from security perspective design. System, while ASP.NET provides a good model for resources, you can use Windows authentication, you can use simple configuration to implement permission control, you can use form authentication, and Passport support

ask:

C # runs in Windows Fast than Java, this I believe, both are Microsoft products, compatibility. I want to ask, the web application with C # develops is not running under Windows?

[2004-10-21 15:17:00]

Guest [Mengxian (Mencius E)]: C # is currently running under Wndows, other systems have problems. However, Mono has implemented in Lunix.

ask:

I have a friend around me. They use the ASP three-layer structure development. They use the code encountered in the ASP development in this way well to be solved well. Domestic success is DVBBS. Is this use in performance? ?

[2004-10-21 15:16:00]

Guest [Mengxian (Mencius E)]: It is best to make a DLL component, so it is more efficient

ask:

Can I talk about the most difficult and important place to transform from the ASP in the development from ASP to .NET?

[2004-10-21 15:16:00]

Guest [Guo Hongjun (GHJ1976)]: SESSION cannot be shared.

ask:

How to call the USB hardware key in the web. I mean that I do the OA is able to log in to the USB.

[2004-10-21 15:16:00]

Guest [Liu Ruhong]: If you want to access local resources on the web, you need to sign the ActiveX, and you need to install every customer machine, and some other certificates can also be solved.

ask:

Where is the cache design? Is this better example or book?

[2004-10-21 15:16:00]

Guest [Mengxian (Mencius E)]: You can find a lot of tutorials on the web. Special book does not seem to

ask:

What should I pay attention to in the purchase of C / S structural development network database applications?

[2004-10-21 15:15:00]

Guest [Mengxian (Mencius E)]: Security, Performance Comparison Key

ask:

Which is better in efficiency and server load?

[2004-10-21 15:14:00]

Guest [Liu Ruhong]: I want to design a good system is not how fast your code is executed, but your system is able to withstand a lot of requests, and how to adapt when the load changes Such changes

ask:

Please tell us why do you have to use httpmodule and httphandler?

[2004-10-21 15:13:00] Guest [Guo Hongjun (GHJ1976)]: This is not necessarily used, when you need it, use it again. I suggest you look at the working principle of ASP.NET, know how to work, is very helpful for designing high performance procedures.

ask:

Please tell us why do you have to use httpmodule and httphandler?

[2004-10-21 15:13:00]

Guest [Liu Ruhong]: If you understand the two applications of Isapi, I want to understand that httpmodule and httphandler are relatively easy, simple, HTTPModule is equivalent to the filter, can listen to all HTTP requests, and httphandler is a handler, The ASPX page is also a httphandler, just achieve more features.

ask:

Pick up QQ QQ - Yes from a database, make a tag when logging in, then every reading, the pressure on the database is not very large.

[2004-10-21 15:13:00]

Guest [Mengxian (Mencius E Chapter)]: No,

ask:

Can not be called Mengxian (Mencius E chapter) to organize a cache related technical article to put 9CBS

[2004-10-21 15:13:00]

Guest [Guo Hongjun (GHJ1976)]: Mencius's personal website: http://dotnet.aspx.cc/ http://sz.luohuedu.net/xml/

ask:

How to apply caching technology

[2004-10-21 15:13:00]

Guest [Mengxian (Menciic E Chapter)]: ASP can only use Application or Session

ask:

I have a friend who uses C # to develop mobile phone SMS applications, I want to ask, what is the difference between the application of SMS and the application of Web.

[2004-10-21 15:11:00]

Guest [Guo Hongjun (GHJ1976)]: The SMS program is not very different from other procedures. In fact, it is a SMS interface that calls other companies. This interface may be an HTTP GET request, or an HTTP POST request, of course, there is Web Service. Specifically see the other party cooperation company. The rest, more other programs are the same.

ask:

Ask the most stupid problem, what is a cache?

[2004-10-21 15:11:00]

Guest [Mengxian (Mencius E-chapter)]: One of the most important factors generated by generating high performance, scalable web applications is to store these items in memory when the first request item, whether they are data objects, pages Or some parts of the page. These items can be stored on a web server or on other software in the request stream, such as proxy servers or browsers. Allows you to avoid recreation information that meets the previous request, especially those that require a lot of processor time or resources. This is the usual cache, which allows you to use multiple technologies to request storage page output or application data across HTTP and reuse it. In this way, the server does not need to recreate information, thereby saving time and resources. ASP.NET provides two cache types you can use to create a high-performance web application. The first type is called an output cache, which allows a dynamic page or user control response to any HTTP 1.1 cache function in the output stream (from the initiator to the request browser). When the rear request occurs, the page or user control code is not executed, and the output of the cache is used to meet the request. The second type of cache is a traditional application data cache that can be used to programmatically store any object (such as data set) to server memory, so your application can save time and resources needed to recreate these objects. .

ask:

Speaking how to make a cache, God, I didn't learn anything [2004-10-21 15:10:00]

Guest [Guo Hongjun (GHJ1976)]: Is the data structure learned? ? The cache is to save the required things to memory, and later use, as for how to cache, make the list, can be queues, etc. . Of course, there are ready-made DataSets, XML, memory mirror files, and more.

ask:

Ask the most stupid problem, what is a cache?

[2004-10-21 15:10:00]

Guest [Mengxian (Mencius E)]: The cache is to store the data.

ask:

Some information in the mobile network is in cookie, this is called cache?

[2004-10-21 15:10:00]

Guest [Liu Ruhong]: The cache is for data, put some information in cookie strictly, is a state tracking

ask:

WEB program can develop high-performance instant messages like QQ?

[2004-10-21 15:07:00]

Guest [Liu Ruhong]: I think this is the application of two different categories. At this point, you can look at the web msn mussger, from http://webmessenger.msn.com, you can use your MSN directly, but I I want to work for the WEB to do in time to communicate, but in other areas.

ask:

How can you make a specific point?

[2004-10-21 15:07:00]

Guest [Guo Hongjun (GHJ1976)]: The specific code is different depending on the language. For web programs, in fact, two categories, 1, page output cache, this time, cache these output information; 2. Data cache, these data is to be logical, calendering is more convenient to calculate data Structure, such as DataSet, XML, and more.

ask:

What should I pay attention to using the C / S structural development network database application?

[2004-10-21 15:06:00]

Guest [Guo Hongjun (GHJ1976)]: C / S structure, actually two-layer structure, if you find that your database is too large, then two solutions: 1. Improve the performance of the database, such as split databases to different servers , Optimize databases, etc.. 2, becoming a three-layer architecture, an intermediate layer, an intermediate layer caches some of the frequently requested data.

ask:

If your QQ is online, you will also display your online in the QQ forum, it seems to be synchronized, I want to ask how this is achieved.

[2004-10-21 15:06:00]

Guest [Mengxian (Menciic E-chapter)]: Yes from a database, make a tag when logging in

ask:

If your QQ is online, you will also display your online in the QQ forum, it seems to be synchronized, I want to ask how this is achieved.

[2004-10-21 15:06:00]

Guest [Mengxian (Menciic E-chapter)]: Yes from a database, make a tag when logging in

ask:

Can Mencius teachers introduce custom server controls?

[2004-10-21 15:06:00]

Guest [Mengxian (Menciic E-chapter)]: http://chs.gotdotnet.com/quickstart/ASPPLUS/default.aspx?url=/quickstart/ASPPLUS/doc/quickStart.aspx

ask:

How to design this kind of cache? I can temporarily store the most frequently accessed data with XML, but frequent opening / closing XML files will bring pressure to I / O, how is your memory mode solved? [2004-10-21 15:05:00]

Guest [Mengxian (Mencius E)]: XML is not suitable for cached storage

ask:

Where is the advantage of ASP three-story development? Is it just a code separation? Will there will be impact performance? Domestic successful application is: DVBBS

[2004-10-21 15:04:00]

Guest [Guo Hongjun (GHJ1976)]: A forum success or no, not his technology, but it is a system system. Easy to use. The three-layer architecture is a relatively universal architecture. It can solve the vast majority of questions, but can't solve some of your special needs, special circumstances. For example, your website is very small, doing a three-story architecture, one level is

ask:

Ask a problem that may be more comradious, what is "deployment"?

[2004-10-21 15:04:00]

Guest [Liu Ruhong]: Simple understanding is how the application has been developed how to migrate from the test platform to the running platform

ask:

Will you use the ASP.NET to do a servlet, there is no file extension in the URL or an extension to file arbitrarily

[2004-10-21 15:03:00]

Guest [Liu Ruhong]: Well, you can do it, you can pass through urlrewrite, but don't abuse, because all requests are submitted to isapi_aspnet.dll for performance.

ask:

Please recommend the tool for web report design?

[2004-10-21 15:02:00]

Guest [Liu Ruhong]: If it is based on .NET, Reporting Service is the first choice, and the Crystal Report (Crystal Report) of Bo is also very wide, and the ActiveReport produced by DATADYNAMIC is also very good.

ask:

Can Mencius teachers introduce custom server controls?

[2004-10-21 15:02:00]

Guest [Mengxian (Menciic E-chapter)]: ASP.NET is getting started quickly, just say it here http://chs.gotdotnet.com/quickstart/ASPPLUS/default.aspx?url=/quickStart/ askSTART.ASPX aspplus / doc / quickstart.aspx

ask:

I have a little doubt about 9CBS post list technology. The change in the list is very frequent, is it saved in the database now?

[2004-10-21 15:00:00]

Guest [Guo Hongjun (GHJ1976)]: I said before, the current version of the post list, using dual cache technology. That is, in fact, you read the list of posts, is not dealing with the database. It is deed with the cache.

ask:

VS2005 SQL2005 caching technology does not have a relatively large change in comparison, is there a related comparison URL?

[2004-10-21 15:00:00]

Guest [Mengxian (Menciic E-chapter)]: SQL2005 has many improvements. The VS2005 adds the convenience of development, such as custom, breakpoints, and better is to support XSLT breakpoint debugging, specific reference http://www.microsoft.com/sql/2005/

ask:

The daily traffic is 1 million websites, the amount of data is not very large, there are about several server clusters?

[2004-10-21 14:59:00]

Guest [Guo Hongjun (GHJ1976)]: This involves the specific architecture of your website. If your website data update doesn't need to be timely. Static document technology is used. So, a normal server can be completely qualified. So, to see several servers, in addition to the traffic, you have to look at the architecture. ask:

How to use cache, specifically tell

[2004-10-21 14:59:00]

Guest [Liu Ruhong]: It is relatively simple, and the Cache implementation is not particularly frequent content, such as some statistics. I can cache a page to locally caching. This depends on the implementation of specific framework

ask:

What kind of factors do you need for real high-performance?

[2004-10-21 14:57:00]

Guest [Meng Xian (Menciic E-chapter)]: Many high performance factors: try to use Cache, less session, especially Session object, less Web Control, try to use the client, try to return to the server, generated HTML should be simple, and the house is more code. I have time to organize, put it in http://dotnet.aspx.cc/, here is limited

ask:

E-commerce sites like Alibaba, eBay, etc., is related to sessions, suitable for static text technology?

[2004-10-21 14:57:00]

Guest [Guo Hongjun (GHJ1976)]: The e-commerce website is not suitable for pure static documents. However, a page is not possible to update in time, some of which may not update. In this case, the cache of partial regions, and some areas are static files. You can solve this problem.

ask:

Can you tell me a massive data program like a forum, and the data should be handled at time.

[2004-10-21 14:55:00]

Guest [Guo Hongjun (GHJ1976)]: The Forum has changed very quickly, but specifically went to a post, this post may change very slow. Understand what I mean, if a thing changes very fast, then you will split, split into a small individual. Be careful not to split, it feels that your forum is dead. Of course, it is necessary to improve performance.

ask:

But there is a friend says that if the visit will cause a lot of pressure to the database, how you improve the process of frequent access to database efficiency in practical applications.

[2004-10-21 14:53:00]

Guest [Guo Hongjun (GHJ1976)]: 1, caching, although there is tens of thousands of requests to your website, but by cache, you can reduce the request for the database to only dozens; 2. Improve database performance, such as storage process. And the use of redundancy on the design of the database. Reduce the pressure of the database.

ask:

How is the large site of Sina developed? Can you use ASP.NET to do that effect?

[2004-10-21 14:53:00]

Guest [Mengxian (Mencius E)]: High-performance website should consider many factors, software hardware, Sina mainly generated is a static page. ASP.NET should also.

ask:

The three-layer architecture does not affect the performance of the web application

[2004-10-21 14:52:00]

Guest [Guo Hongjun (GHJ1976)]: This depends on how you design this three-story architecture, and your website is not reached, and it is necessary to three layers. If the website itself is not accessed, it is not necessarily good to do three-story architecture. My opinion, don't pay too deliberately pursue the pattern of this model, choose the way the best suits you. ask:

Can introduce basic ASP. NET's book? It is best to read it in a step-by-step manner. Specially ask!

[2004-10-21 14:50:00]

Guest [Mengxian (Mencius E)]: ASP.NET Advanced Programming is more comprehensive. Get started first, carry out in-depth reference

ask:

Is there anyone familiar with the component chemical design in Web development? The study of this aspect, please give high people guidance!

[2004-10-21 14:49:00]

Guest [Mengxian (Menciic E Chapter)]: What does you mean by the architecture? Is it modular mean? This should be the direction of software development. After the development software should be like a wooden

ask:

I would like to ask Mencius, do you recommend that database operations do all store procedures when developing large and medium-sized websites?

[2004-10-21 14:47:00]

Guest [Mengxian (Mencius E-chapter)]: Whether to use the stored procedure to see your operation, for more complex database operations and compare, the stored procedure. The same SQL statement, the stored procedure is always faster than the ASP / ASP.NET

ask:

Can you give you how to learn ASP. NET? Want to see those books better?

[2004-10-21 14:47:00]

Guest [Guo Hongjun (GHJ1976)]: It is highly recommended for the second edition of "ASP.NET Unleashed". That is this: http://www.dearbook.com.cn/book/viewbook.aspx?pno=ts0022702

ask:

Can you tell me a massive data program like a forum, and the data changes in the moment. Is there a good XML technology?

[2004-10-21 14:45:00]

Guest [Mengxian (Menciic E-chapter)]: Using XML technology is mainly to reduce the burden on the server, no benefit to search, query, etc., or to combine databases

ask:

I have learned ASP, but I feel ASP and ASP. Net is really a good thing, don't know what to learn, how to learn.

[2004-10-21 14:44:00]

Guest [Liu Ruhong]: I think the object-oriented design idea is very important. There are quite ASP.NET articles on the Internet, and Mencius's website http://dot.com.aspx.cc also has a lot of articles.

ask:

9CBS why is Al Service Unavailable? Is there a way to solve it)

[2004-10-21 14:44:00]

Guest [Guo Hongjun (GHJ1976)]: Service Unavailable is this instant IIS server in a non-open state. This situation is because the previous 9CBS server often dies where it is, the server does not respond. Later, I made a timing monitor. If you find a specified page, within a limited time, the access is not reactive, and the IIS will be automatically reacted. Service unavailable is an error message given by IIS to access the web page. There is no way to solve the service unavailable problem without thoroughly improving server performance.

ask:

I am a technical personnel of a company B2B business website. We are still ASP, whether you can implement URL REWRITE technology?

[2004-10-21 14:43:00]

Guest [Mengxian (Menciic E-chapter)]: ASP does not support URLREWRITE you can refer to http://dev.9cbs.net/Article/42/42861.shtm Q:

: Use other languages, such as ASP, how to implement URL REWRITE, can you give an example?

[2004-10-21 14:42:00]

Guest [Liu Ruhong]: Helicon offers a free solution, you can get from the network, isapi_rewrite supports the ASP, you can even enable JSP, PHP names on the IIS

ask:

Where is SHTML and HTML?

[2004-10-21 14:40:00]

Guest [Guo Hongjun (GHJ1976)]: The most obvious difference: SHTML can be used

Such a file mode. HTML is not.

ask:

By default, using ASP.NET always has a large piles of viewstate, and I see a lot of ASP.NET builds, I don't have to use ViewState, how are they doing, whether there is related mode .viewState Is the impact of efficiency?

[2004-10-21 14:39:00]

Guest [Liu Ruhong]: For the web control of ASP.NET, you can disable the viewstate, efficiency will definitely have an impact, after all, for these data servers need a process of loading and storage

ask:

Tens of thousands of records read from the XML file and read out from the SQL database from the SQL database?

[2004-10-21 14:38:00]

Guest [Liu Ruhong]: This time XML is not a best solution, especially in structured data, XML is good at the field of semi-structural data and semantic expression, if it is a simple data access, DataReader is better DataSet

ask:

Does tens of thousands of records that are suitable for the way to pick XML files?

[2004-10-21 14:38:00]

Guest [Guo Hongjun (GHJ1976)]: Tens of thousands of records are suitable for XML, mainly to see 1, will you inquire about these data? ? The current XML query performance is not very optimistic; 2. Do you need to load these data to memory? ? If you want, is it to load one time? ? How long is the first load time? Are you acceptable? ? I think, as long as you don't need to consider the above two questions, use XML is ok, otherwise it is not suitable.

ask:

URL REWRITE technology allows users to feel a lot of HTML, actually or aspx, ask, use this way (at least I think I don't change the medicine) Do you have improved performance?

[2004-10-21 14:36:00]

Guest [Liu Ruhong]: I think the improvement is not what specific technology you use, but you have a complete solution. For example, what you mentioned, we can improve efficiency through the ASPX cache.

Guest [Moderator]: Welcome the new comrades!

[2004-10-21 14:36:00]

ask:

: Can the MVC structure application under the .NET framework?

[2004-10-21 14:36:00]

Guest [Mengxian (Mencius E-chapter)]: Yes, you can refer to Implement Model-View-Controller http://www.microsoft.com/china/msdn/library/Architecture/patterns/esp in ASP.NET /Impmvcinasp.mspx

ask:

So, whether it can be the case, I build a database index of its address, expiration, but re-generate files again. [2004-10-21 14:36:00]

Guest [Liu Ruhong]: Well, this is a way of implementation

ask:

What is the benefit of generating static pages? What is the difference between ASP, JSP page?

[2004-10-21 14:34:00]

Guest [Mengxian (Mencius E)]: The static page does not require a server to process directly to the client, which can greatly reduce the overhead of the server. ASP, JSP, etc. need to be sent to the client after server-side parsing. Need CPU, memory consumption

ask:

Is the most important part of Web development? Is the database structure design?)

[2004-10-21 14:34:00]

Guest [Guo Hongjun (GHJ1976)]: For small websites, the database is designed, and most problems are solved. If the large site, the chart, performance, which will account for a large proportion. Is the website? The website is a data show, collecting the platform, that is, show the content of the database, and records the data you need to collect to the database. Obviously, it is also an important part of the show here. So, my point of view, for small websites, to do WEB development, important two basic work: 1, database; 2, art (improve user experience) If the website is big, you need to consider it.

ask:

High-performance web application development has great! Can the B / S structure really replace the C / S structure?

[2004-10-21 14:34:00]

Guest [Liu Ruhong]: I can't think of a lot of C / S regression can be seen in various websites, but it can be foreseen that the current development needs a more easy deployment, easy to implement, such as Microsoft Smart Client technology, as well as Mozilla's XUL, as well as Macromedia Flex, etc. Maybe we can look forward to Longhorn Avalon technology

ask:

How to deal with a large number of static temporary files generated?

[2004-10-21 14:32:00]

Guest [Liu Ruhong]: You can solve it through some storage mechanisms, or simply delete, you will see your business needs.

ask:

What is the benefits of documentation, news class use SHTML static file?

[2004-10-21 14:31:00]

Guest [Liu Ruhong]: The biggest benefit using SHTML is to be easy to be indexed by search engine. Generally, search engines are higher than dynamic pages for static pages.

ask:

How is the search in the station of the Alibaba website implementation? Its feature is that the page obtained after the user is all static, and the connection is, how is this implementation.

[2004-10-21 14:31:00]

Guest [Mengxian (Menciic E-chapter)]: The Alibaba website did not go to research, and should be the dynamically generated service.

Guest [Moderator]: You should answer your guests to answer your questions, which will affect the speed! forgive!

[2004-10-21 14:31:00]

ask:

I developed a B / S mode document management system to implement online editing and check-in checkout of electronic documents, where batch file uploads (including relative path information) function is not implemented on the web because browser security restrictions are not implemented. Do you have any way?

[2004-10-21 14:29:00]

Guest [Mengxian (Mencius E chapter)]: Batch upload is generally in the client

ask:

How to generate a static page to access to the client like SOHU?

[2004-10-21 14:29:00] Guest [Liu Ruhong]: You can complete the static page generation through some frameworks, this is a pure server-side technology, under IIS, you can even use ASPX to implement, then Url Rewrite technology, let users feel that you have generated a large number of HTMLs, such as mapping /article.aspx?id=12345 into /articles/12345.html, requested a static HTML, true processing or ASPX. These technologies can be implemented in IIS5.0 through ISAPI, of course, asp.net achieves more easily

ask:

The 9CBS website has used several servers to implement clusters and load balancing?

[2004-10-21 14:29:00]

Guest [Guo Hongjun (GHJ1976)]: The current version of 9CBS did not achieve load balancing, the next generation design, load balancing is to be realized. At present, 9CBS has more than 10 servers. Different uses are different.

ask:

How to generate a static page to access to the client like SOHU?

[2004-10-21 14:28:00]

Guest [Guo Hongjun (GHJ1976)]: Sohu's act is the simplest, his core is news, news as long as it is released, then do not have to modify it, he only needs to generate a static file after release.

ask:

Does the 9CBS static page are not XML?

[2004-10-21 14:27:00]

Guest [Guo Hongjun (GHJ1976)]: That is that you only see 9CBS has a forum, did not see 9CBS has news, documentation, news, document here 9CBS is the use of SHTML technology, not XML technology. Static file technology can actually be divided into many classes based on which static file used. Use that static file to see your actual needs.

ask:

: .NET and JAVA web applications, who is better? I used C # written web applications before, and I found that the speed seems to be unhappy.

[2004-10-21 14:26:00]

Guest [Liu Ruhong]: If the speed of running, C # should be better than Java implementation, after all, in the level of virtual machine, in Windows .NET is better than Java, which affects speed, and cannot be Who is attributed to C # or Java?

ask:

If only ASP has only been developed, can I recommend some book system to study the web development of the .NET? A good book is too important.

[2004-10-21 14:26:00]

Guest [Mengxian (Menciic E Chapter)]: You are right. A good book is very helpful to learn. You can refer to ASP.NET Advanced Programming, Wrox published. Tsinghua translation

ask:

How to break through session download, save web html

[2004-10-21 14:25:00]

Guest [Guo Hongjun (GHJ1976)]: The easiest, the simulator's normal operation, if the site limits one minute, only one minute can only access three pages, then in your program, you will request three times a minute. The operation of IE is to transmit HTTP information, which can be simulated by the program.

ask:

Double cache post list technology What technology can I say?

[2004-10-21 14:24:00]

Guest [Mengxian (Mencius E)]: ASP.NET recommends trying to use a cache to improve performance, caching technology has many introductions on MSDN and on the network. The book did not see it. If you need, you can synthesize a room to 9CBS

ask:

Please tell us about the implementation of the MVC mode in the ASP.NET.

[2004-10-21 14:24:00] Guest [Liu Ruhong]: Model, View, Control, from simple, we can understand BO (Business Object), this level is for data model, View can be understood as ASPX page, Control is your business logic, three-story design is very common in web development, you can refer to Microsoft's "Enterprise Structure and Mode" this book, there is corresponding address in Chinese site

ask:

Cache and static pages, the most efficient is the highest?

[2004-10-21 14:23:00]

Guest [Guo Hongjun (GHJ1976)]: Specific analysis. For example, if the amount of data is large, like a 9CBS forum post, there is a total of 20 g of data. It is very complicated using a cache. So use static page technology. If the update is more frequent, you will use static page technology, the database's disk I / O load will be large, this time, it is better to use the cache because it is a memory operation. Push it according to next time, you have to find you to solve the problem. Then determine the efficiency in that way.

ask:

The three-layer architecture does not affect the performance of the web application

[2004-10-21 14:22:00]

Guest [Liu Ruhong]: In web application development, the layering is very necessary, from a certain sense, the coding method is capable of obtaining the best efficiency, but in a large site development process, if each Developing everyone should be able to understand, it is impossible to imagine. The hierarchical design is conducive to you better abstraction and is more suitable for large sites development. If the performance problem is caused by the layering, we can degrade the model after design, such as some modules that are hierarchically designed, but this does not mean that you don't hierarchical design.

ask:

Double cache post list technology What technology can I say?

[2004-10-21 14:20:00]

Guest [Guo Hongjun (GHJ1976)]: A layer of caching, data cache, re-layer, output cache, which is the same as the ASP.NET's cache concept. However, the current 9CBS ASP cache is here, which is implemented by using the Application XML DOM object, and there is no such complex, there are many options. But thinking, it is still these two caches.

ask:

Web security, and how to improve its speed?

[2004-10-21 14:18:00]

Guest [Guo Hongjun (GHJ1976)]: Safety and speed is generally contradictory. The measured standard is to see what you want confidential, how big value, if the value is not large, the speed is first, safe second, otherwise safety first, data second.

ask:

: .NET development web application Where is the web application developed by Java?

[2004-10-21 14:18:00]

Guest [Liu Ruhong]: .net development is still in the development efficiency, for a business company, but not only because of faith, it is not only because of faith, so choose Java, vs.Net is currently the current market The best IDE, and .NET is more kind in consideration of developers.

ask:

How should I deal with massive data?

[2004-10-21 14:16:00]

Guest [Liu Ruhong]: I think that Guo Hongjun mentioned, the cache design is a very important strategy. In addition, it is necessary to do specific implementation according to the specific business.

ask:

I have never understood that if the XML acts in the page and Database? [2004-10-21 14:16:00]

Guest [Mengxian (Mencius E-chapter)]: There is no relationship between the two, but only combines when it is applied.

ask:

How to achieve static file technology in 9CBS

[2004-10-21 14:16:00]

Guest [Guo Hongjun (GHJ1976)]: The static file is just to improve reading speed, not to save data, so 9CBS static file is a mirror of database content, so sometimes it will find some unaptuous issues. The update of static files is just updated when needed.

ask:

ASP to ASP.NET, C # has no problem, the whole frame is always unclear, thank you!

[2004-10-21 14:14:00]

Guest [Guo Hongjun (GHJ1976)]: It seems that your architectural article is relatively small, MSDN specializes in sites. Http://msdn.microsoft.com/architecture/ In addition, if English is not enough, you can see ".NET system architecture and development" book. However, this book is just some of the translated MSDN on the article about the .NET architecture. Don't look at English, just don't look. This book, the translation is still not good enough.

Guest [Liu Ruhong]: I think high performance can be considered in the following aspects 1. Response speed 2. Blending in capability 3. System scalability 4. System flexibility

[2004-10-21 14:13:00]

ask:

ASP to ASP.NET, C # has no problem, the whole frame is always unclear, thank you!

[2004-10-21 14:11:00]

Guest [Liu Ruhong]: ASP and ASP.NET or two different frameworks, or the operating environment has a relatively large gap, and the ASP is the interpretation of server-side technology, while ASP.NET is in the hosted environment. Web application solution

ask:

Can you introduce the architecture design of the 9CBS Forum? How many modifications have been improved several times? How to do it? How's the effect?

[2004-10-21 14:10:00]

Guest [Guo Hongjun (GHJ1976)]: The architecture of the 9CBS Forum, from performance, mainly adopted the following techniques: 1. Static document technology; 2, dual cache post list technology; 3. Application logic database stored procedure package (this Technology is abandoned by this technology due to the limitations of database server performance.

Guest [Guo Hongjun (GHJ1976)]: Welcome everyone to chat, my information is as follows: Name: GHJ1976 蝈蝈 蝈蝈 .NET Blog: http://blog.joycode.com/ghj/ Email: ghj1976@9cbs.net At present, it is engaged in the planning of next-generation 9CBS technology community. You can contact me for any idea of ​​next-generation technology communities.

[2004-10-21 14:08:00]

Guest [Mengxian (Mencius E Chapter)]: Welcome everyone to visit high-performance web application development chat room

[2004-10-21 14:07:00]

Guest [Moderator]: There is already guests here, please start!

[2004-10-21 14:07:00]

Guest [Liu Ruhong]: Our script today is what people who hope to know more asp.net, Mencius and GHJ are the top masters on 9cbs. I am fortunate to ask them as our guests.

[2004-10-21 14:07:00]

Guest [Liu Ruhong]: Hello, I am Liu Ruhong. It is currently the planning editor of "MSDN development selection", mainly good at COM / COM and DOTNET and its script development [2004-10-21 14:05:00]

Guest [Moderator]: Sorry, please take a while!

[2004-10-21 14:03:00]

Guest [Moderator]: Remove again, please don't involve some topics that have nothing to do with this topic!

[2004-10-21 14:01:00]

Guest [Moderator]: Our chat is about to start.

[2004-10-21 13:57:00]

ask:

Chat rules 1

[2004-10-21 13:55:00]

Guest [Moderator]: In the process of chat, please don't talk about the topic that has nothing to do with this chat.

ask:

Chat rules 2

[2004-10-21 13:55:00]

Guest [Moderator]: Please ask your netizens to submit the questions of guests to the scene to the scene.

Guest [Moderator]: Liu Ruhong: "MSDN Development Selection" planning editor, good at companies based on COM / COM and ASP.NET, and familiar with client script design. It is also the host of this chat.

[2004-10-21 13:54:00]

Guest [Moderator]: Guo Hongjun (GHJ1976): MS MVP, 9CBS Forum architectors and main developers, good at ASP.NET and XML.

[2004-10-21 13:52:00]

ask:

Guest introduction

[2004-10-21 13:51:00]

Guest [Moderator]: First introduce the guests to chat room today

Guest [Moderator]: Mengxian: The famous "Menciic E-chapter", the top character on 9CBS, "Jianghu" first master.

[2004-10-21 13:51:00]

Guest [Moderator]: Please ask everyone to discuss the issue of Web development technology in this chat activity, please do not involve other content

[2004-10-21 13:49:00]

Guest [Moderator]: Today we are very honored to have a few guests who have experience in Web development to visit the 9CBS chat room.

[2004-10-21 13:48:00]

Guest [Moderator]: Everyone everyone is welcome, welcome everyone to come here.

[2004-10-21 13:46:00]

ask:

Everyone visitors!

[2004-10-21 13:39:00]

Guest [Moderator]: Welcome everyone to the 9CBS guest chat room.