Skip to content

Commit 350bd1b

Browse files
authored
Merge pull request #100 from crawler-commons/96
Remove Ignite, implements #96
2 parents 247b201 + 2e112d5 commit 350bd1b

File tree

7 files changed

+2
-986
lines changed

7 files changed

+2
-986
lines changed

service/README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,9 @@
33
[![Docker Image Version (latest semver)](https://img.shields.io/docker/v/crawlercommons/url-frontier)](https://hub.docker.com/r/crawlercommons/url-frontier)
44
[![Docker Pulls](https://img.shields.io/docker/pulls/crawlercommons/url-frontier)](https://hub.docker.com/r/crawlercommons/url-frontier)
55

6-
Implementations of the URL Frontier Service. There are currently 3 implementations available:
6+
Implementations of the URL Frontier Service. There are currently 2 implementations available:
77
- a simple memory-based which was used primarily for testing
88
- the default one which is scalable, persistent and is based on [RocksDB](https://rocksdb.org/)
9-
- a persistent and distributed one based on [Ignite](https://ignite.apache.org/)
10-
11-
The Ignite implementation is still in beta mode.
129

1310
Web crawlers can connect to it using the gRPC code generated from the API. There is also a simple client available
1411
which can do basic interactions with a Frontier.
@@ -37,7 +34,7 @@ the call above can have the following equivalent without the config file:
3734

3835
If no path is set explicitly for RocksDB, the default value _./rocksdb_ will be used.
3936

40-
For implementation supporting a cluster mode, like the Ignite one, it is required to use the parameter `-h xxx.xxx.xxx.xxx` with the private IP or hostname
37+
For implementation supporting a cluster mode, it is required to use the parameter `-h xxx.xxx.xxx.xxx` with the private IP or hostname
4138
on which it is running so that it can report its location with the heartbeat.
4239

4340
## Logging configuration

service/config.ini

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,5 @@ rocksdb.max_background_jobs = 4
2121
rocksdb.max_subcompactions = 2
2222
rocksdb.max_bytes_for_level_base = 536870912
2323

24-
#implementation = crawlercommons.urlfrontier.service.ignite.IgniteService
25-
26-
# Needed for the Ignite based frontiers to form a cluster
27-
# ignite.seed.address = xxx.xxx.xxx.xxx
28-
29-
ignite.path = /data/crawl/ignite
30-
ignite.workdir = /data/crawl/ignite
31-
ignite.index = /data/crawl/lucene
32-
# ignite.purge = true
33-
34-
ignite.backups = 3
35-
# frequency in sec of when the frontiers should send a heartbeat
36-
ignite.frontiers.heartbeat = 60
37-
# ttl of hearbeats in sec
38-
ignite.frontiers.ttl = 120
39-
40-
41-
4224

4325

service/pom.xml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616

1717
<properties>
1818
<prometheus.version>0.16.0</prometheus.version>
19-
<ignite.version>2.14.0</ignite.version>
20-
<lucene.version>9.4.0</lucene.version>
2119
<rocksdb.version>7.6.0</rocksdb.version>
2220
</properties>
2321

@@ -94,18 +92,6 @@
9492
<version>${rocksdb.version}</version>
9593
</dependency>
9694

97-
<dependency>
98-
<groupId>org.apache.ignite</groupId>
99-
<artifactId>ignite-core</artifactId>
100-
<version>${ignite.version}</version>
101-
</dependency>
102-
103-
<dependency>
104-
<groupId>org.apache.lucene</groupId>
105-
<artifactId>lucene-core</artifactId>
106-
<version>${lucene.version}</version>
107-
</dependency>
108-
10995
<dependency>
11096
<groupId>commons-io</groupId>
11197
<artifactId>commons-io</artifactId>

service/src/main/java/crawlercommons/urlfrontier/service/ignite/IgniteHeartbeat.java

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)