Jump to content

TimKieu

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by TimKieu

  1. Based on Indy HTTP/1.1, Delphi RESTful servers are almost low performance. This case JavaSE-based frameworks win. Let take a look at: TechEmPower blog

    AFAK, there may be only EsegeCe websocket SDK with HTTP/2 Indy ready for your high performance REST servers using with UniGUi. But it is commercial license. 

  2. Interesting question about using WebRTC with UniGUI. I am also finding this technology stack to consult my friends investing on the UniGui and Delphi ecosystem.

    We can try to integrate into UniGui apps:

    1. Twilio Video SDK for JavaScript webapp (nodejs basis)

    2. Sipjs or JsSip library plus a WebRTC platform: Janus/Mediasoup Webrtc

  3. @PetzLet me share some things I know about the great uniGui eco systems:

    Question 1: Type of Server

    Windows Server Core is a perfect platform but license cost is a big thing.

    Linux Intel is possible but consider other packages, e.g FastMM4/4-VX/5.

    Linux Arm is not available due to Embarcadero Delphi v11. 

    Question 2: Development

    Yes, you can do that way. But you need a development Linux to debug on-the-go (Centos/Ubuntu/Oracle..)

    Question 3: HyperServer

    Yes, Linux Intel x64 is ready for HyperServer. Or you can use nginx, or cloudflare. 

    Question 5: Database heavy application

    FireDac can handle concurrent DB clients. But you can consider using caches other streaming stuffs like Kafka to break through any bottle-neck with heavy DB, or use NoSQL (Mongodb, Firebase, DynamoDB..).

    Or you can add API-tier to work with heavy DB app: prefer Java Light-4j (rest/kafka..) or Spring-boot. Due to Indy limit, Delphi API restful server is not high performance.

    The total cost of ownership x time = Delphi license + UniGUI license + other libs + less-code Man-power still << opensource + full-code Man-power.

    You should buy UniGUi complete license right away and do all your projects fastest!

    • Like 1
  4. Based on Hayri ASLAN solution by CustomMeta editor, my guy recommend using code for production environment:

    //auto HTTP -> HTTPS  on production
          CustomMeta.Append('<script language="JavaScript">' + #13#10 +
          'function redirectHttpToHttps()'                  + #13#10 +
          '{'                                               + #13#10 +
              'var loc = window.location.href+'';'           + #13#10 +
              'if (loc.indexOf(''http://'')==0){  '            + #13#10 +
                'window.location.href = loc.replace(''http://'',''https://'');  '  + #13#10 +
              '}    '                                         + #13#10 +
         ' }       '                                          + #13#10 +
          'redirectHttpToHttps(); '                           + #13#10 +
          '</script> ');

×
×
  • Create New...