Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I want to develop a web-based collaborative editing app: basically many users will transcribe a big mp3. The first step is to write a specification.
It seems pretty easy to do it with async communication and javascript, keeping track of the transcription an user gives and forwarding it to other users editing the same file, but I fear I might be underestimating the problem: what are the common issues this kind of problem raises?
Thanks!
You didn't specify what browsers you want to support. To do it "real-time", you can either poll the server or use Comet or WebSocket (for browsers that support it) or Flash net Socket. As with any collaborative app, I think the hardest problem is conflict resolution/keeping all sessions synchronized.
You might be interested in reading Google Wave Protocol too. It's a white paper on real-time collaborative document editing. Not for the faint of heart :D
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I am implementing a web application which uses React as front end and Asp.net as backend. I have around 2000 images that has to be used in the web application. What will be best way to store these images ?
The best way is never store any media yourself.
Since serving any image/video content relies heavily on your network/bandwidth, it is not always stable and vulnerable to the slightest DDoS attack. Let alone that the security of your server may not be enough to protect your data.
I would highly recommend you to lookup some CDN, or Content Delivery Network, provider, such as AWS and GCD. You may also set up access right and serve criteria to better protect your data in these providers.
Reference:Why Use CDN’s for Your Website & Image Hosting
Edit: I just noticed that you have tagged your question with azure-storage, which is also a great option for serving media over the internet.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am interested in automation on the internet. I own a NAS server and have a website at a webhotel.
Let's start out slow. If i wanted to call a webpage a few times a day, what would my options be? On my NAS server i can write custom batch files, but I don't really want to learn how to do this, it doesn't seem too easy to get into (correct me if wrong). Are there any frameworks that can help me do this? I looked a little into Node.js, and it seems pretty good. Can i put a Node.js script on my server, and have it call a website at specified times?
So, my question is this:
what are the most widely used options, when it comes to automation on the internet?
EDIT: When I say "call a website", i mean call a webresource via a url, which would then do whatever it is instructed to do. Such as write to a database with php.
Usually lightweight varsion of linux can be accessed on NAS servers. In this case you can install any web server on it. But considering phrases "but I don't really want to learn how to do this" and "what would my options be" I would say: Hire specialist.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I want to make an web chat system with PHP and AJAX with jQuery library, but if I do an XMLHttpRequest with a delay of 0~50ms to update the messages, I don't know if it'll work. I searched over the web trying to find a system to do this, and I found the websocket system that works great with PHP and can solve my problem, but it doesn't work on certain web browsers like IE9-.
Other question, maybe I'd have about ~300 rooms running with 5~20 users online on each room, and I want to keep all the messages on my DB. Can MySQL do it fine? And how about the CPU and RAM usage?
There are a thousand ways to do this, I'll give you the "proper" way: XMPP. The protocol has been designed exactly for the purpose of chats and is extremely flexible and extensible. Set up an XMPP server, such as ejabberd or any other one. For a web client, there's XMPP over BOSH, a reliable protocol over HTTP to interface with an XMPP server. Strophe for example implements it.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I read article about WebRTC. I understood that it creates a common platform for real time communication. Can some one answer me that if WebRTC requires credentials and also is there any time limit to use.
It's not a platform. According to webrtc.org, WebRTC is a free, open project that enables web browsers with Real-Time Communications (RTC) capabilities via simple JavaScript APIs.
If you want to develop it just with browser and your js code. http://www.webrtc.org/ has all the information you may want.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Is it possible to implement webRTC at server side? ie., I want my browser to connect to a http server(tomcat which runs a java based app to stream a video) using webRTC protocol and get the streem from the server?
I think compiling webRTC api and access it through JNI will help. Any other easy directions to do this?
There is now a server-side implementation of WebRTC in Asterisk that should enable that: https://wiki.asterisk.org/wiki/display/AST/Asterisk+WebRTC+Support
I haven't yet looked into it that much so I can't say for sure that it does what you want.
Take a look at Lynckia's Licode Project. It is however, Node.js serverside.