Skip to content
Snippets Groups Projects
  1. Dec 19, 2024
    • Georgy Moshkin's avatar
      perf: introduce TopologyCache · 5bf9d8a5
      Georgy Moshkin authored
      TopologyCache is a collection of deserialized structures with
      information about cluster topology. This currently includes data from
      _pico_instance, _pico_replicaset, _pico_tier & _pico_service_route_table.
      The info is automatically kept up to date with the corresponding system
      tables. The TopologyCache also caches the immutable info related to the
      current instance, like instance name, replicaset uuid, etc.
      
      From now on we should be reading this data from TopologyCache whenever
      possible instead of going directly to system tables as we were doing
      previosly.
      
      At the moment only the plugin RPC module has transitioned to using
      TopologyCache but other modules should be refactored as well.
      Especially governor.
      5bf9d8a5
    • Georgy Moshkin's avatar
      f4d66cab
    • Georgy Moshkin's avatar
      fix: explicitly check bucket id for validity · 1307a31f
      Georgy Moshkin authored
      Before this fix if requesting RPC by an invalid bucket_id we would send
      an RPC to every replicaset to check if they have such a bucket_id.
      This is not needed because we know the allowed range.
      1307a31f
  2. Nov 30, 2024
  3. Nov 06, 2024
  4. Oct 25, 2024
  5. Oct 22, 2024
  6. Sep 13, 2024
  7. Aug 27, 2024
  8. Jul 17, 2024
  9. Jul 04, 2024
    • Georgy Moshkin's avatar
      feat: introduce picoplugin::transport::rpc module · cb7e0a05
      Georgy Moshkin authored
      - use RouteBuilder to register rpc endpoints (input and ouptut is raw
        bytes for now)
      - use RequestBuilder to send RPC requests to other instances which are
        running a specified plugin.service (guarded by version)
          - supported routing by
              - explicit instance_id
              - replicaset_id
              - bucket_id
              - any available instance with given service
      - use context::Context to extract information about request or add
        custom fields at runtime (middleware not yet implemented)
      cb7e0a05
    • Vartan Babayan's avatar
      feat: rename grade -> state in picodata · 17419fe3
      Vartan Babayan authored
      17419fe3
  10. Apr 04, 2024
  11. Feb 12, 2024
  12. Feb 07, 2024
  13. Feb 05, 2024
  14. Dec 19, 2023
  15. Nov 21, 2023
  16. Nov 16, 2023
Loading