Doubts over the Performance in Developing a Chat application

We are developing a chat application which needs to update the chat content in the database for the duration of the chat (ie.,For the duration of a session).At the same time the page should refresh and show the current content on both ends.In addition to both these, the database tables has to be checked to detect the occurence of a Network error on both sides.
We have developed it as a Browser based chat and we have used PHP with MySQL. The performance is slow.
Can anyone give a suggestion as to whether we can develop the chat application completely from the scratch and if we do that which technology should we choose to boost the performance.
If anyone is not clear about my problem just mail me.I'll explain it in more detail.
Thanks in Advance

Hi,
I just wanted to know these following answers.
2) Network failure -- Means (either browswer got killed or data did not arrived/Page Not refreshed)
3) which WebSErver are U using?
From java, it is very easy to develop chatting application for which you can use applet and servlets for the same (if you consider the performance is the utmost importance)
Updating to the database should not be done for the duration levels rather should be done at the event levels(data change/keyboards/session -inf changes).
Im not sure about PHPs running at client but I can suggest you to use two frames .One is for typing and other one is for displaying information which basically gets the staus from the server abt other users in the chat either from the session, which would be driven by other component which is static) .
Any how, I just put my ideas (Im sure , you know all these things)
with regards
Lokesh T.c

Similar Messages

  • How do i develop a chat application using jms over web based

    I want to develop a chat application using jms with mailing,file transfer and audio facilities
    can anyone help me to how to go abt that

    There is a good article from Sun on a simple example of what you want - it could serve as a basis for you.
    http://developer.java.sun.com/developer/technicalArticles/peer/

  • The Performance of Developer Server ??

    Hi:
    In August, Rajs asked: Is WebForms only for Intranet and NOT
    Internet?
    Now, I need urgently answers and details for this question, the
    situation is same in my work. Rajs wrote:
    I have deployed a Developer 6.0 application on the web
    (Internet). I am using Application Server 4.0.7.1 on Windows NT
    SP4. Of course and also JInitiator.
    On a 128 MBPs Internet line The time to access www.yahoo.com was
    around 5 seconds. The time taken to download the Employee
    Details Applet was around 6 minutes. This is certainly not
    acceptable.
    I want to prove that Developer WebForms is also deployable and
    can be used on the Internet as well as the Intranet. I was sadly
    disappointed.
    I have not tweaked any parameters on the Application Server. So
    it is possible I am missing something.Can anybody please comment on this?
    Regards
    Rajs
    null

    Accessing external Databases with RFC-based middleware is Ok, but the best performance you usually get by accessing the external database directly from within the SAP ABAP server with the "DB multiconnect" feature. This allows ABAP programs to read and write to others than the primary database. ABAP knowledge is of cause required.
    SAP has several products that use this feature and that may already fit your needs, e.g. BI (also known as BW) and SCM (also known as APO).

  • Deplyment in portal & performance optimal development of VC applications

    Hi Experts,
      I need some information regarding these queries. If possible can you help me out.   
      Can anyone provide us with :
    1)Are there any Material/guidance on best practices for the deployment of the VC application in the portal
    2) Any Recommendations for performance optimal developing and development guidelines from SAP
                          Thanking you so much.
    Arun

    Hi Arun,
    For your first question, you need to define some standard:
    a. You should have standard naming convention for your portal objects (roles, iViews, etc.) especially for the prefix.
    b. Each Visual Composer developer in your organization have to configure their Visual Composer profile as follows.
    1. Login to Visual Composer.
    2. Open an existing model or create new.  You only need this step to show Tools menu because it does not show if there is no model opened.
    3. Navigate to Tools | Options.
    4. Select Compiler tab. 
    5. Change the u201CPAR name prefixu201D to the one you use to create your portal objects (i.e. roles, iViews, etc), For example, com.<yourcompany>.portal.
    6. Check u201CDeploy model with PARu201D checkbox.
    7. Click OK button.  The changes is attached to current Developeru2019s profile so each developer need to do this configuration.
    8. When you execute the Export process for your Portal Transport package, the PAR files for your VC applications will be automatically included in the transport package as long as the prefix for your iViews is the same as the "PAR name prefix" as mentioned on step 5.
    I will write a blog regarding this.  In the meantime, let me know if you have any questions.
    Regards,
    Erwin

  • T's possible to use the jsp to develop stand-alone application?????

    Hello everybody, I would like to know your considerations about this topics: It's possible to use jsp to develop stand-alone application that will be not run on the server but on the local machine?There are some negative aspects on make this? Thank you for your reply

    i don't think you could ever protect the jsp code and it wouldn't do you much good to bother anyway, since anyone with a browser can just "View Source" and see all the HTML on the page anyway.
    the only thing you would want to protect is your java source. you don't have to distribute the .java files with your application, just the .class's. you could try and obfuscate the .class files, but a determined person will always be able to reverse it back to a .java program and read it. it would take a bit of work and knowhow though, so figure out how smart the consumer is going to be and if they will be able to figure out how to reverse .class files back to .java

  • I am newbie ,i have developed an chat application i need to create an exe

    i need to create an exe (setup ) file of my chat application to be installed in client system .First it has to check wheather jre is installed in that system if its not there the setup should install jre and install my application ,if jre is already there it should install only the application .How can i make this set up file
    Thanks in advance

    Why didn't you use Java Web Start to distribute your application. Simple reliable, customizable...
    Is your source code available, I need a chat library to add to my application ?

  • Doubts over the tablet battery.(t​hinkpad 8)

    I am Brazilian, and I have a question about the battery.
    Sorry my bad English, as in Brazil is hard to find information about this device.
    I see in the lenovo site that the battery lasts between 7 or 8 hours.
    My tablet is the lenovo thinkpad 8, 64 gb and 2 gb of ram. Use the brightness at 35% and off bluetooth. The normal use of it, internet + games is lasting a maximum of 4:30, is this normal? Videos and nothing else came to 5:00 hours long .... I claim to replacing the battery?
    Thank you all, excuse anything.
    Solved!
    Go to Solution.

    Your battery seems fine. Battery capacity is the major disadvantage of the TP8 imho. Especially when gaming or viewing/streaming full hd content.

  • The cost of developing an MHP application

    I have had for some years an ambition that an MHP application can become written in Java and put into use, an MHP application which implements some of my ideas about a generic application.
    The generic application which would be produced would accept as input data a Unicode text file produced on a PC using Microsoft WordPad.
    The generic application would respond to user keypad presses.
    The effect would be to produce text and maybe vector graphics displays on the screen.
    The ideas of my own which the program would implement would be to use various Unicode Private Use Area characters to have meanings, within the application, such as changing text colour, waiting for a keypad button to be pressed, clearing the screen and so on. There are various things which I have thought would be good ideas, including vector graphics and a system for preparing programmed learning texts, though all of them do not need to be implemented in a first application.
    The particular generic application would be a specialised sandbox with solid security. If it were implemented it would mean that people could produce safe interactive television applications using a text editor on a PC.
    This particular generic program would be for a one-way broadcast system only.
    My Quest text font, which is available as a free download from the following web page, has visible glyphs for many Unicode Private Use Area characters, though some are for things other than my ideas about broadacsting technology, being for such things as simple percussion music, chess and stylish typography using ligatures and so on.
    http://www.users.globalnet.co.uk/~ngo/fonts.htm
    The glyphs relating to this idea would be used at authoring-time, not at run-time, so the font would not be broadcast with the application. At run-time the particular Unicode Private Use Area codes would be interpreted as commands, glyphs would not be needed for them.
    I am unlikely ever to be in a situation where I can produce that application myself. I can program a little in Java, but not very much, and I have all but no knowledge of the special MHP classes. I am not representing any organization.
    I have no idea of how much effort the writing, testing and deploying of such an MHP application would need and, following on from that, I have no idea of how much a contractor would charge to implement the generic application and arrange for it to be broadcast. Please bear in mind that I also do not know at the time of writing this post what would be required in terms of getting the application certified for broadcasting.
    So, my question is to ask what would be the sort of price level for implementing such a program as an MHP application please?
    Once such a figure is obtained then maybe I can try to think of a method to raise it. One idea is that perhaps the development of the MHP application could be used as a case study in a television series about the development of interactive television technology as it would be an open project so there would be no commercial secrets constraints about the program being used.
    William Overington
    12 November 2007

    Thank you for replying.
    * XML provides a much better way of adding structure to documents. It is clear what is markup and what is data.The system is not seeking to add structure to documents. It is seeking to add a few control codes here and there into text without needing to restructure the whole document into a format which differs greatly from a plain-text format.
    * There are thousands of XML tools out there to help programmers, but there are none for your system - even text editors will have problems displaying the correct codes.Well, WordPad and Word 97 can display the authoring-time glyphs easily if the Quest text font is being used.
    * There is a limitation on the number of commands that can be added to your system, with XML there are none.Well, I have not come up against a limitation on adding commands into the system. There may well be a theoretical limitation yet that may be far beyond what I am seeking to use. What limitation are you suggesting exists please?
    * The Unicode Private Use Area is there for a reason (to allow character set designers to add unusual glyphs into text. e.g. the characters that represent the film ratings). If you subvert if for other purposes then it will not be available for it's intended purpose.My understanding is that it is entirely proper to use the Unicode Private Use Area in the manner that I am using it. It is not a matter of "subvert it". One can define control codes within the Unicode Private Use Area if one wishes and one may publish those assignments if one wishes. I am not seeking an exclusive assignment at all.
    * Software engineers tried this system in the early days of PC computing with the ANSI.sys driver. This was removed and for good reason - it's a pain to use and is limited in scope. It is a tried tested and failed solutionThank you for the mention of the ANSI.sys driver. I looked it up on the web.
    * The use of such a system will have limited scope (you are proposing just MHP boxes). This increases the learning curve of potential users, which is going to be hard enough as there is no logical structure to your codes. (This was one of the bigger problems with the ANSI driver).I was only proposing using MHP as I thought that that might be a way to try to get things started in Europe as I am in England. If people wish to use the same codes for JavaTV more generally then they are welcome to do so. I suggested MHP so that I am trying to implement something specific rather than just talk about implementing on various systems.
    * Separating out data from control is one of the fundamental principals of good software design (even the weaving machines of the mid 19th century worked by this principal). You are deliberately mixing data with controlYes I am deliberately mixing text with control. I happen to think that it would be a very useful thing to do in the context of adding these control codes into text so as to enable people who are not programmers to produce an interactive television application for, say, a programmed learning sequence which they have devised. People could use a plain-text editor to produce the text file.
    * By deliberately mixing data with control you increase the complexity of the code used to interpret the display string, and thus slow down the text output algorithms.Yes, I am increasing the complexity of the Java code which would be needed to interpret the display string in the television set. So, that slows down the text output algorithms. I feel that that slowing down will not be significant bearing in mind that most of the time the software will be waiting for an end user response to what is on the screen.
    I'm sure there are other good reasons for not doing this.Well, I am happy to read, think about and to try to respond to any reasons that are put forward.
    Simply waiting a few years and suggesting it again is not going to make this a good idea - it is an idea who's time has thankfully long since passed.I am not suggesting that people take it up. That is up to them. Unless other people try it, it will not get tried. I am not representing an organization and I do not own a broadcasting station. I cannot write the Java application myself. I am trying to find out how much it would cost to implement the idea in an application program so that the system can be tried in practice and used by those people who would like to do so.
    William Overington
    13 November 2007

  • Help Needed in developing simple Chatting application using flex and blazeds

    Hi,
    I followed this tutorial from adobe http://learn.adobe.com/wiki/display/Flex/Creating+a+BlazeDS+messaging+application+in+Flex+ Builder i installed tomcat server and set the path.I am unable to open server like this http://localhost:8080 but i can able to open that in this way http://127.0.0.1:8080/   .... When i create my new flex project in flash builder 4 i am getting this error
    You do not have write permission for the project output folder. Specify another location.
    can any one help me in how to get rid of this problem.I hope this forum helps me in finishing my flex project..
    Thanks
    Trinethra

    Hi,
    Need to use a scrollable resultset and depending on the need to have a stateful connection or a stateless connection you may need to query the table for every request(for stateless connection) and use the same result set for(stateful connection). and depending on the no of records in a page and the page no do some simple arithmetic and move the resultset. Hope this helps.
    rajesh

  • How can we develope  Chat  application  by using RMI?(urgent)

    Hello guys,
    I want to develope a chat application like Yahoo Messanger application by using RMI. Can I use TCP/IP of UDP protocal to pass data? Please tell me.
    Please give me idea about this topic,Thanks a lot...

    Plz send the code for chat application(min b/w 2
    users) using RMI to
    [email protected],viswanadha.gowrikanth@gmail.
    comYou really needed to resurrect an old thread for this request?

  • For the 24 inchers...how much better is the ATI over the NVIDIA?

    Well, I just purchased the new 24in IMac at 3.06 ghz with its basic options....4gb ram, TB hard drive and the NVIDIA GeForce GT 130 video card. My friend, coincedentally bought the same one just a few days later, however its refurbished, has the (only) other video card option, I believe the ATI Radeon HD 4850. My friend has relentlessly teased me saying their IMac is "better" than mine. Now this doesn't all bother that much, however, according to the apple website, at only $50 more for the "better" ATI video card....how much better is it actually? Will the performance be that noticable in applications such as After Effects and Motion? If anybody can clear up the $50 difference and as to why that is, I'd appreciate it.

    I don't know how much detail you want in the answer, but Apple has basic comparisons between the GT 130 and the 4850. Go here
    http://www.apple.com/imac/features.html
    and click on +View the iMac Graphics Performance Chart+ link under +Fast, faster, or fastest?+
    On the plus side (for your choice), Apple seems to be working more closely with NVIDIA these days. That may (or may not) be beneficial when Snow Leopard is released.

  • Analyze the performance of a WDJ app

    Hi,
    I would like to analyse the performance of a webdynpro java application which is running on Prod Portal. We are on Portal 7.00 SP21.
    I have tried to use the Performance option from the webdynpro console. But when I could not quite understand the use of this. Please help me understand the below issues:
    1. When I go to Web Dynpro Console --> Admin Menu --> Performance --> Web Dynpro Framework, I see the below screen shot:
    What exactly do I have to take away from this?
    2. When I got to Web Dynpro Console --> Admin Menu --> Performance --> Applications, and give the application name that I want to monitor it gives me no data at all. Please find the below screen shot:
    The application has been there in the Prod for couple of years. Why I do not see any performance data of the application? Is there anything else that I have to do before using this option?
    Please help me with this.
    Thanks a lot.
    Best,
    Balajii

    Hi,
    I would like to analyse the performance of a webdynpro java application which is running on Prod Portal. We are on Portal 7.00 SP21.
    I have tried to use the Performance option from the webdynpro console. But when I could not quite understand the use of this. Please help me understand the below issues:
    1. When I go to Web Dynpro Console --> Admin Menu --> Performance --> Web Dynpro Framework, I see the below screen shot:
    What exactly do I have to take away from this?
    2. When I got to Web Dynpro Console --> Admin Menu --> Performance --> Applications, and give the application name that I want to monitor it gives me no data at all. Please find the below screen shot:
    The application has been there in the Prod for couple of years. Why I do not see any performance data of the application? Is there anything else that I have to do before using this option?
    Please help me with this.
    Thanks a lot.
    Best,
    Balajii

  • How to create smileys in a chat application?

    Hello, i developped a chat application in java
    i use a JFrame, and to put the dialogs, i use a DefaultListModel.
    how can i print smileys ?
    the defaultlistmodel works for printing String, not pictures.
    Can you help me ?

    Hello, i developped a chat application in java
    i use a JFrame, and to put the dialogs, i use a
    DefaultListModel.
    how can i print smileys ?
    the defaultlistmodel works for printing String, not
    pictures.When you say your using DefaultListModel I assume your using it with a JList because otherwise its really pointless. You won't do this code in the list model you will have to do it with the JList by making your own renderer. Take a look at this link here is a good example of using an image in a list. I don't think they have text and an image in the same row of the list, but that shouldn't be too hard to add on your own.
    http://www.codeguru.com/java/articles/449.shtml

  • How can I reduce my Flex Chat Application Size?

    Hi all,
    I have developed a Chat application using Flex and XIFF API.
    The XIFF API size is around 500 KB. I am not using all the Packages
    that are coming with that XIFF. I need the basic chat functionality
    only . Now my chat application size is around 400KB(in release
    mode). Is there any way that I can reduce the Chat application size
    , so that it will loads to the client machine quickly.
    Thanks in Advance
    Kamal

    On Mac, open your folio in Desktop Content Viewer, then check this folder
    ~/Library/Application Support/com.adobe.dmp.contentviewer/Local Store/FolioCache
    You will see your folio and all stacks and all elements.
    As Bob mentioned, prepare your folio as 1024x768, video i would suggest even little bit smaller (cca 800x480, 750 kbit/s). And check your image sequences, if they are not too big in term of size (images without text do for 1024x768 - 72 dpi, images with text on 108 dpi - 1536x1152 px).
    Audio - AAC on 96kbit is good enough.

  • Chat  Application Architecture

    Hello ,
    Can anybody help me out about what could be the best architecture for developing a chat application like MSN Messenger (for intranet as well as if possible for the internet as well).
    I know Java & JSP can be very useful but can anybody tell me more clearly that what threading issues and client-to-server or server-to-server communication should be taken into consideration ??
    Please help me in detail.
    Thx in advance
    [email protected]

    first of all, don't crosspost (forgive me if you didn't but i recall seeing exactly same topic in another forum)
    and how to do it?
    if you want t have think like MSN, then you'd need to have something peer-2-peer alike... that each client is also server and then they "speak" to each other directly.
    but other version would be such, that each client has only client socket, with which it connects to server application, that propagates chat from one client to everyone...
    that server could then become a bottle-neck for your chat if you have lot's of clients, but then again, you might not have that much clients in intranet.

Maybe you are looking for

  • Expand "all day" pane size in week view

    In Mountian Lion's Calendar, the week view shows the all day events in a narrow pane aong the top of the calendar window. However this pane is fixed and can't be resized to show more than 3 all day events. Does anyone have any tips or suggestions on

  • Modifying database table in ALV Grid

    Hi all. I need to be able to modify the database table in ALV Grid. Here's the code. The database table, that is displayed is 'zng_so_head', it's internal table is 'res_tab'. In the program i tried to create a button 'CHANGE' on the ALV-toolbar, but

  • Why is the Apple contacts application so mediocre?

    The app is great for adding and keeping new contacts but absolutely teribble for helping you to manage them and stay connected. Something as simple as creating a group is nigh impossible on the stock app. I'm thinking that this is a phone primarily a

  • Search in forms

    hi all can you correct this sentence begin select patient_name from patients where patient_name like '%'|| :b.pat_name ||'%' ; end; regards

  • Steps Required for Deleting Un - Used Company codes

    Hi My client Requirement is Un - Used Company codes need to remove from Production Environment. What is the Steps Require for Remove Company codes. Regards, TML