Jump to content

Wilton Ergon

uniGUI Subscriber
  • Posts

    626
  • Joined

  • Last visited

  • Days Won

    21

Posts posted by Wilton Ergon

  1. On 06/09/2021 at 11:20, Stemon63 said:

    1000 usuários?
    Precisamos de 50.000 (com 10 servidores, Ram 64 GB foreach). Um sonho? Acho que não, se Farshad adicionar mais recursos de cliente 🙂
     


    how are you doing today to load balancer on these 10 servers?

    how many processors is each server you are using?

    let us know.
    thanks.

  2. @Farshad Mohajeri

     

    I asked a question in a previous post and got no answer, about the hyperserver, I would like you to run a small test,
    use the example
    ..\uniGUI\Demos\Desktop\DBDemo

    fill the Notes field, with a content with more than 2000 characters, and see if the data is displayed correctly on the hyperserver with multiple servers.

    using load balancer with nginx, those fields with large contents are not displayed correctly.
    as we don't know how the transport of data between servers will be done, it doesn't cost you to do this test.

  3. my opinion.

    3-changing unigui's core, I don't think it's in fmsoft's plans, sencha is one of the best js frameworks on the market, what unigui lacks and just use all the power sencha can

    offer, fmsoft knows that, and has already promised many improvements in this sense.

    4-
    fmsoft is already a partner of Embardero, that's because sencha belongs to idera, which owns delphi, the best thing that can happen, and there is no such native integration, because if idera buys unigui, we're screwed, ungui would die in a short time.

    • Like 1
  4. the question of you bringing this to your application is not related to whether or not sql will manage better as tables, but that you share the workload, and leave sql for the most important things.

    an important detail and precisely the ordering, it costs a lot for sql to load your data already sorted,

    if you load the data without order, and do this in your application, you will find it cost much less.

    if you research sql server sorting on the internet, you will find that this should only be used when necessary.

  5. for this scenario I use a dblockupcombobox
    linked to a query that simulates the combo items

    I create a query with the content
    select 1 id, 'item 1' description
    union
    select 2 id, 'item 2'description
    union
    select 3 id,'item 3'description


    it's not the most elegant but it works, and I don't need to create a physical table for this data.

    • Like 1
  6. I suggest loading the data using TFDMemTable (firedac) or TVirtualTable (sdac)
    using tables in memory in the database, you will consume memory to keep those tables on the server during your use, and it will also consume memory in your application server, as you will load this data in memory for display to your user.

    using TFDMemTable, you only use memory in the application server, because you search your database and the connection can be undone.
    another basic rule, limit the data loaded to the minimum possible, never use select * from table, when you know that the table may have many records.

  7. @farahad

    if possible create a small test in the new version, and see if there are no problems with the display.

    a simple form with a tunidbmemo component
    looking for data from any table where the content has a lot of information (more than 2000 characters)

    see that on the hyperserver farm, the display will not be compromised.

    I have problems with this field type, with the nginx balancer, when there is too much information in the field, the data is displayed incorrectly

     

    as we don't know, how data is transmitted between servers, it would be good to test this situation

  8. 57 minutes ago, Farshad Mohajeri said:

    How many uniGUI applications are you running in this system?

    four different apps each with its address.

    one of them is used by several clients where in some cases I needed to isolate the installation separately, ie it is the same application but with a separate installation (a different address)

    ex:
    mysystem.exe

    client1.mycompany.com.br

    client2.mycompany.com.br


    where client1 and Client2 has independent installation folders and configurations, even though it is the same system.

  9. On 11/08/2021 at 17:49, Farshad Mohajeri said:

    Na configuração do farm de servidores, haverá um servidor mestre e vários escravos. O HyperServer será instalado em todos eles.

    O servidor mestre deve ser capaz de acessar servidores escravos por meio de URLs usando chamadas HTTP.

    O IIS será configurado apenas no servidor mestre. Os servidores escravos executarão a versão Windows Service do HyperServer.

    It's important to know that, I have several websites on my servers, and each one uses a hyperserver, today the distribution is done using the hyperserver dll installed on IIS

    in that case on slave servers, how will the hyperserver be started as a service, only one service running, will it be able to manage multiple sites, multiple different systems? or will I be able to have several services running on slave servers?

    sorry for the questions, but it is important to know how and how this works to see if it will meet our expectations.

  10. 6 hours ago, Farshad Mohajeri said:

    Yes, we will also add these settings to the control panel.

    something I would like to know how the application will be distributed in this environment


    today i have
    serv nginx
    serv bd
    serv app1
    serv app2
    serv app3
    serv app4
    serv app5

    the app1 serv to the app5 serv, I have configured the hyperserver dll in the iis, and in the application folder my system as executable

    dns sistema.minhaempresa.com.br is directed to serv nginx, which forwards the application to servapp1 2,3, etc.

    on unigui load balancer server farm

    I need to have configured in IIS only 1 server?, as this will run the applications on the other servers?

     

    on each server I will still have several nodes (instances of my system running?) as it is today

  11. the responsiveness feature, I think, that even existing in unigui, something similar was done by the Flaby - Radcore, and that the system has to be thought and designed totally to work on mobile and then adjust panel and menu positions to work too on the desktop. the big problem is to get an application already designed for the desktop and find that with a few clicks it will work on the cell phone, the starting point should always be the smallest device and then the largest one..

  12. the mobile components are created specifically for use with fingers, for mobile, but you will have a hard time using dbedits controls on mobile.
    I use it, however I chose to create the controls dynamically, using only edits without dataset binding, it takes a lot more work to implement, but the result is excellent, you can even create a list view, using scrollbox, and tunimedit controls normally..


  13. you don't need to destroy your form, just execute the close.
    there is a property on the form, free on close, which is already activated by default, unigui itself is in charge of destroying the form.

    likewise do not need to create.
    just run the show or modal show

  14. On 7/1/2021 at 4:35 AM, erich.wanker said:

    perguntas curtas (simples) para mim:

    você cuspiu seus servidores para aplicativos e para banco de dados?

     

    I didn't understand what you meant, my translator didn't help much.

    my infra and like this:
    1-server bank 128gb dual xeon 20cores. Windows
    5-server app 16 gb 8 cores windows
    1-server load balancer linux 4 cores with nginx

    the dns is directed to the nginx server which forwards to
    the application server with the least load.

     

     

  15. the web browser won't allow you to directly access a local device, nor can we access printers, imagine a scanner, you could only do that by creating a browser plug-in, which will force your user to do a local install, or you can create an application that does this by running locally on the user's machine, this vcl application would make the connection with the scanner, and send the file to your web server.

×
×
  • Create New...