You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Does anybody remembers those good old days? What about an old fashioned RAM-disk and the use of simple Files read/write by WinApi functions?
I think that sockets are possibly older/more old-fashioned than RAM disks <g>, but I do like running MT4 from a RAM disk for various purposes - though not this one.
Advantages of socket communication:
Hi Carl, is Ram-disk only for HDDs or will it also speed up SSDs?
Neither. A RAM disk doesn't speed up a physical disk (except indirectly, in that there's less activity on the physical disk). It's a block of the computer's RAM which is treated as though it is a disk drive - with its own drive letter such as D:, the usual ability to create and delete files etc etc etc.
I think his question is : will a RAM disk be faster than a SSD ?
Answer : Yes of course.
Million times faster.
I even run my back tests in a Ram disk to save at list 30% of the total time.
Million times faster.
I even run my back tests in a Ram disk to save at list 30% of the total time.
If you do need consistent I/O for performance (normally going with server/high IO requirements), you can consider using NVMe SSD, after using this, you will hate to get back with normal SSD / HDD (SAS).
Anyway, socket is for event-drive communication between apps/devices and I love it for exchanging data/commands by pushing data instead of polling data.
Currently, I have just finished a simple bridge between rawsocket & websocket to push data from MT4 to any website/services in realtime (by tick event).
I'm trying learn more about programming to optimize the performance for this bridge because there is some bugs as below (because my coding skill is so low):
Just some sharing :)
Hi Carl, is Ram-disk only for HDDs or will it also speed up SSDs? I wonder if my vps provider will let me install this! thanks
Looking for some VPS provider that can offer NVMe SSD, you can feel the big difference for sure
If you just need to be able to send data, not to receive it, then the attached library should work.
Hi, JC!
First let me thank you so much for all you do! I will not ask how I can kiss you (lol) but will say that you are a man among men and will be known for your all your good works through all the ages:)
I am pouring over the C++ reference example available for ws2_32.dll to convert them in order to implement User Datagram Protocol (UDP) as an addition to the library and extend its capability to send and receive datagrams from MT4/5 (just locally)?
I am sure you probably have already thought of this or tried it? I am sure there is also really a good reason it is not implemented in socke-library-mt4-mt5.mqh library as well
Could you share your experience?
Thank you again for all your hard work and even more so for sharing it!