V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
fiona1120
V2EX  ›  问与答

求助:最近在做预约系统相关的业务,怎么解决如何统计将来的预约数的问题?

  •  
  •   fiona1120 · Jun 16, 2023 · 1726 views
    This topic created in 1045 days ago, the information mentioned may be changed or developed.

    我们在做一个预约系统,这个系统里面可能有多个商家(大概 10w 级),每个商家有很多顾客(最大的可能有 10w 级),然后现在有个需求:商家查询顾客列表(高频操作,要求实施性强),需要能在列表上展示列表内每个顾客将来的预约数(并且要排序+筛选)。不知道大家有遇到过这种场景没?都是怎么解决的?

    公司官网:https://www.moego.pet

    2 replies    2023-06-17 10:06:28 +08:00
    akira
        1
    akira  
       Jun 17, 2023
    这问题。。怪怪的。。。而且你们首页加载要一分多钟?
    qile1
        2
    qile1  
       Jun 17, 2023 via Android
    数据库慢就分库做,每个商家一个库,然后统计不就快了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   6087 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 06:27 · PVG 14:27 · LAX 23:27 · JFK 02:27
    ♥ Do have faith in what you're doing.