Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Remove futures/promises during tile parsing #925

Closed

Description

@kkaefer

We're currently using futures/promises to block tile parsing until the required glyph set has been loaded and added to the glyph atlas. However, this blocks our parsing threads. Instead, we should abort parsing the current layer and restart parsing once we have obtained the required resources.

Once this is done, we can remove the custom worker pool and instead use the worker pool provided by libuv.

Activity

  1. kkaefer commented on Feb 27, 2015

    @kkaefer
    MemberAuthor

    This requires quite some refactoring: We probably first need to split up all layers into individual (dependent) parse tasks that can be rescheduled on their own.

  2. incanus commented on Feb 27, 2015

    @incanus
    Contributor

    What sort of timeline are you thinking about this @kkaefer? I'm in some parser refactoring to split out the common parts of TileParser for use by both a VectorTileParser and a LiveTileParser, which handles non-pbf data. Unless this is critical, we should probably wait a bit.

  3. kkaefer commented on Feb 28, 2015

    @kkaefer
    MemberAuthor

    Just added the issue to capture it

  4. self-assigned this
    on Apr 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions